package com.situ.mall.common.service;

import com.situ.mall.common.entity.Attachment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.situ.mall.common.vo.ResultVO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lwj
 * @since 2023-09-13
 */

public interface IAttachmentService  {

    ResultVO upload(MultipartFile file);

    void bind(String attIds, Integer id, String product);

    void clean();

    List<Attachment> selectList(String product, Integer id);
}
